package com.vito.framework.system.operatelog.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vito.framework.base.exception.CommonException;
import com.vito.framework.base.service.impl.BaseServiceImpl;
import com.vito.framework.system.operatelog.mapper.OperatelLogMapper;
import com.vito.framework.system.operatelog.model.OperateLogBean;
import com.vito.framework.system.operatelog.service.OperateLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class OperateLogServiceImpl extends BaseServiceImpl<OperatelLogMapper, OperateLogBean> implements OperateLogService {

	@Resource
	OperatelLogMapper operatelLogMapper;

	@Override
	public IPage<OperateLogBean> queryOperateLogList(Page<OperateLogBean> page, Map<String, Object> map) throws CommonException {
		return operatelLogMapper.operateLogList(page, map);
	}
}
